#include "org_phnq_babel_Environment.h"
#include "Phnqlets.h"

using namespace phnq::phnqlets;

JNIEXPORT void JNICALL Java_org_phnq_babel_Environment_addResourcePath
  (JNIEnv *env, jclass _this, jstring _path)
{
	const char *path = env->GetStringUTFChars(_path, 0);

	Environment::getInstance()->addResourcePath(path);
	
	env->ReleaseStringUTFChars(_path, path);
}
